#!/usr/bin/python3
# -*- coding: UTF-8 -*-
 

from guizero import App, Text,TextBox,PushButton
def  say_my_name():
	welcome_message.clear()
	welcome_message.append(TextBox)
      
#from guizero import App, TextBox
app = App(title="Hello world")
welcome_message = Text(app, text="Welcome to my app", size=25, font="Times New Roman", color="lightblue")
my_name = TextBox(app)
update_text = PushButton(app, command=say_my_name, text="Display my name")
app.display()  